﻿<!--
   Semantic tags library : Tutorial
   author : Fabien Gandon
 -->
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" 
          xmlns:stl="http://ns.inria.fr/sewese/semtags/" 
          xmlns:c="http://java.sun.com/jsp/jstl/core#" 
          xmlns:fn="http://java.sun.com/jsp/jstl/functions#"
          version="2.0">

<jsp:output omit-xml-declaration="yes" />
<jsp:output doctype-root-element="html"
     doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
     doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
<jsp:directive.page contentType="text/html;charset=UTF-8" />		
	<html>
  		<head>
     		<title>Application de test de Semtag</title>
     		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
     		<link rel="stylesheet" type="text/css" href="tutorial.css" /> 
		</head>
		<body>
        	<stl:modify-annot kind="add"
			    xpath="/rdf:RDF"
			    forceUpdate="true"
			    file="human_2007_04_17.rdf"
			    humans="http://www.inria.fr/2007/04/17/humans.rdfs#"
			    rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			    <humans:Person rdf:ID="${stl:encode(param['name'])}"
			     xmlns:humans="http://www.inria.fr/2007/04/17/humans.rdfs#"
			       xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
			      <humans:name>${param['name']}</humans:name>
			    </humans:Person>
			  </stl:modify-annot>
			  <p>A new person named "${param['name']}" was created.</p>
		</body>
	</html>
</jsp:root>